<?php
	$linkMediaImage = SCRIPTS_URL . '/media_files/browse.php?type=images&lng=vi';
	$linkMediaFlash = SCRIPTS_URL . '/media_files/browse.php?type=flash&lng=vi';
	$linkMediaFiles = SCRIPTS_URL . '/media_files/browse.php?type=files&lng=vi';
?>

<div class="left_content">
	<?php echo $this->render($this->arrParam['controller'] . '/toolbar/left.php');?>
</div>

<div class="right_content">
	<div class="appContent">
		<form action="" method="post" name="appForm" enctype="multipart/form-data">
			<?php echo $this->render($this->arrParam['controller'] . '/toolbar/index.php');?>
			<?php
			if($this->arrParam['save'] == 'ok'){
				echo '<div class="thongbaoThanhCong goc5">Xử lý dữ liệu thành công</div>';
			} 
			?>
			<?php
				//-------------------- SESSAGES ERROR ------------------
				if(count($this->messageError)>0){
					foreach ($this->messageError AS $key => $val){
						echo '<div class="listError" data="'.$key.'" rel="' . $val . '"></div>';
					}
					echo '<div class="thongbaoError goc5">Có lỗi trong quá trình xử lý.</div>';
				} 
			?>
			<div id="tabs">
				<ul>
					<li><a href="#tabs-1">Hình ảnh</a></li>
				</ul>
				<div id="tabs-1">
					<div class="tblForm">
						<iframe width="100%" height="100%" src="<?php echo $linkMediaImage; ?>" name="media_manager_images" id="media_manager_images" style="height: 450px; border: 0;"></iframe>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<div class="clr"></div>	
